package com.magic.gre.mvp.contract;

import com.magic.gre.entity.BannerBean;
import com.magic.gre.entity.OptionBean;
import com.magic.gre.entity.ThesaurusBean;
import com.noname.lib_base_java.mvp.BaseContract;

import java.util.List;

import io.reactivex.Observer;
import okhttp3.ResponseBody;

/**
 * Author: Lmoumou
 * Date: 2019-01-07 15:26
 * 文件名: HomeContract
 * 描述:
 */
public interface HomeContract {
    interface Model extends BaseContract.BaseModel {
        void mBannerData(Observer<ResponseBody> observer);
        void mOption(Observer<ResponseBody> observer);
        void mThesaurusList(Observer<ResponseBody> observer);
    }

    interface Presenter extends BaseContract.BasePresenter {
        void pBannerData();
        void pOption();
        void pThesaurusList();
    }

    interface View extends BaseContract.BaseView {
        void vBannerData(List<BannerBean> beanList);
        void vOption(OptionBean optionBean);
        void vThesaurusList(List<ThesaurusBean> thesaurusBeanList);
    }
}
